package com.robot.console.client.processors;

import com.go.core.Message;
import com.robot.console.client.Client;
import com.robot.console.client.common.ISingleClientProcessor;
import com.robot.console.core.ClientCommonParam;

public class AuthProcessor implements ISingleClientProcessor
{
	public static String KEY = "Auth";

	@Override
	public void decode(Message message, Client client)
	{
		try
		{
			client.getClientInfo().setAuthed(true);

		}
		catch (Exception ex)
		{
			ClientCommonParam.printLogBack(ex.toString());
		}
	}
}
